Fix sandbox build on Ubuntu 10.04
authorStephen Warren <[email protected]>
Sun, 15 Nov 2015 06:53:49 +0000 (23:53 -0700)
committerTom Rini <[email protected]>
Wed, 18 Nov 2015 20:28:59 +0000 (15:28 -0500)
commit60f989a939643a3fdf9553613f1b916a45a9c6ed
tree7636f83670e995208076b2b5f15c0687ae5a3d6e
parent89127c5346789b7d6bdbf411b4b5017521336b2b
Fix sandbox build on Ubuntu 10.04

gcc 4.4.3 (which is the default native compiler on x86-64 Ubuntu 10.04)
doesn't seem to like initializers for sub-fields of anonymous unions.
Solve this by replacing the initialization with an assignment. This
fixes:

lib/lz4_wrapper.c: In function ‘ulz4fn’:
lib/lz4_wrapper.c:97: error: unknown field ‘raw’ specified in initializer

Signed-off-by: Stephen Warren <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Acked-by: Simon Glass <[email protected]>
lib/lz4_wrapper.c